package com.juyu.miliao.api.dao.mysql;

import com.juyu.miliao.common.domain.BillDetailBeans;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * @author jh
 */
@Repository
public class BillDetailBeansDao {

    @Resource
    private SqlSession sqlSession;

    public int saveBillDetailBeans(BillDetailBeans billDetailBeans) {
        return sqlSession.insert("saveBillDetailBeans", billDetailBeans);
    }

}
